.home {
  width: 100%;
  margin: 0 auto;
  background-color: #fff;

  .img-wrapper {
    width: 100%;
    font-size: 0;

    img {
      width: 100%;
    }
  }

  .container {
    padding: 80px 20px;
    background-color: #202342;

    .content {
      background-color: #fff;
      border-radius: 32px;
      padding: 50px;

      .title {
        text-align: center;

        img {
          width: 100%;
        }
      }

      .apply-form {
        margin-top: 50px;

        &-item {
          width: 100%;
          background-color: rgba(245, 245, 245, 1);
          display: flex;
          height: 84px;
          line-height: 84px;
          margin-bottom: 30px;
          border-radius: 50px;

          .label {
            width: 120px;
            text-align: center;
            position: relative;

            img {
              width: 30px;
              position: absolute;
              top: 50%;
              transform: translateY(-50%);
            }
          }

          input {
            flex: 1;
            background-color: transparent;
            border: none;
            text-indent: 20px;
            font-size: 32px;
            outline: none;

            &.address {
              padding-left: 20px;
            }

            &::placeholder {
              color: rgb(117, 117, 117);
            }
          }

          .area-select-label {
            font-size: 32px;
            padding-left: 40px;
            color: #757575;
          }

          .area-selected {
            color: #000;
          }

          &.code {
            position: relative;

            span {
              position: absolute;
              right: 30px;
              font-size: 30px;
              cursor: pointer;
              color: #108ee9;
            }

            img {
              width: 38px;
              margin-left: -4px;
            }
          }
        }

        &-title {
          font-size: 30px;
          color: #333;
          margin-top: 50px;

          span {
            color: red;
            font-size: 28px;
            margin-left: 10px;
          }
        }

        .agreement {
          color: #666;
          font-size: 26px;
          height: 80px;
          line-height: 80px;

          input[type="checkbox"] {
            vertical-align: -3px;
          }

          span {
            color: #1296db;
          }
        }
      }
    }
  }

  .copyright {
    font-size: 24px;
    padding: 20px 24px;
    text-align: center;
    background-color: #202342;
    color: #ffffff;

    p {
      margin: 0;
      line-height: 38px;
    }
  }
}

.select-phone-number {
  &--modal {
    width: 680px !important;

    .search {
      display: flex;
      align-items: center;
      border: 2px solid #efefef;
      padding: 1px;

      .input {
        flex: 1;
      }

      .button {
        width: 80px;
        margin-top: 10px;
      }
    }

    .content {
      overflow: hidden;

      .loading {
        height: 250px;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .number-item {
        display: inline-block;
        width: 50%;
        color: #222222;
        font-size: 36px;
        margin-bottom: 10px;
        text-align: left;
        float: left;

        .number-search-key {
          color: #e94f4f;
        }
      }

      .number-empty {
        text-align: center;
        font-size: 32px;
        padding: 30px 0;
      }
    }

    .footer {
      color: #f57e1f;
      font-size: 36px;
      border-top: 1px solid #efefef;
      padding-top: 24px;
      margin-top: 24px;
    }
  }
}

.dialog-footer-button {
  display: flex;
  margin-top: 50px;

  span {
    display: inline-block;
    flex: 1;
    border: 1px solid #efefef;
    border-radius: 50px;
    background-color: #f7f7f7;
    padding: 20px;

    &:last-child {
      margin-left: 30px;
      background-color: #e94f4f;
      color: #ffffff;
    }
  }
}

.check-information {
  &--modal {
    width: 680px !important;

    .check-form {
      &-item {
        display: flex;
        align-items: center;
        margin-bottom: 30px;

        .label {
          width: 140px;
          text-align: right;
        }

        .input {
          flex: 1;
          border: 1px solid #efefef;
          padding: 10px 20px;
          margin-left: 26px;

          input {
            width: 100%;
            border: none;
          }

          textarea {
            width: 100%;
            resize: none;
            height: 130px;
            border: none;
          }
        }
      }
    }

    .footer {
      @extend .dialog-footer-button;
    }
  }
}

.agreement {
  &--modal {
    width: 680px !important;

    .content {
      overflow-y: scroll;
      padding: 50px 0;
      height: 900px;
    }
  }
}

.error-message {
  &--modal {
    p {
      text-align: center;

      img {
        width: 260px;
      }

      .content {
        margin: 80px 0;
      }
    }

    .footer {
      @extend .dialog-footer-button;
    }
  }
}

.idcard-upload-message {
  &--modal {
    width: 700px !important;

    img {
      width: 100%;
    }
  }
}

.help-place-order {
  &--modal {
    img {
      width: 150px;
    }

    .content {
      text-align: left;
    }

    .footer {
      @extend .dialog-footer-button;
    }
  }
}
